<template>
    <div>
        <el-button @click="getNewsletterInitiate">联系客服</el-button>
    </div>
</template>

<script>
    import {newsletterInitiate} from "../../api/api";

    export default {
        name: "staffService",
        setup(){
            let getNewsletterInitiate = () =>{
                newsletterInitiate({entrance:105}).then(res =>{
                    console.log(res);
                })
            }
            return{
                getNewsletterInitiate
            }
        }
    }
</script>

<style scoped>

</style>
